from django.contrib import admin
from django.urls import path, include
from rest_framework.routers import DefaultRouter

from .import views

urlpatterns = [


]
router = DefaultRouter()
router.register("labels",views.LabelViewSet)
router.register("articles",views.ArticleViewSet)
router.register("comment",views.CommentViewSet)
# 127.0.0.1:8000/community/comment
urlpatterns += router.urls
